<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
    <title>报警设置</title>
    <meta content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0, shrink-to-fit=no'
          name='viewport'/>
    <link rel="stylesheet" href="/assets/css/bootstrap.min.css">
    <link rel="stylesheet"
          href="https://fonts.googleapis.com/css?family=Nunito:200,200i,300,300i,400,400i,600,600i,700,700i,800,800i,900,900i">
    <link rel="stylesheet" href="/assets/css/ready.css">
    <link rel="stylesheet" href="/assets/css/demo.css">
    <link rel="stylesheet" href="/assets/css/mystyle.css">
</head>
<body>
<div class="wrapper">
    <div th:replace="~{index::topbar}"></div>
    <div th:replace="~{index::sidebar(activeUri='/setting/warning')}"></div>
    <div class="main-panel">
        <div class="content">
            <div class="container-fluid">
                <h4 class="page-title">报警设置</h4>
                <div class="row">
                    <div class="col-md-12">
                        <div class="card">
                            <div class="card-header">
                                <div class="card-title text-md-center">当前设置</div>
                            </div>
                            <div class="card-body">
                                <form action="" method="post" id="WarningSetting">
                                    <div class="row form-group">
                                        <div class="col-md-3"></div>
                                        <div class="col-md-6">
                                            <div class="row">
                                                <label style="width: 30%">阈值界限：</label>
                                                <input type="number" class="input-full" style="width: 65%" name="ThresholdNum"
                                                       placeholder="值">
                                                <label class="text-md-right" style="width: auto">个</label>
                                            </div>
                                        </div>
                                        <div class="col-md-3"></div>
                                    </div>
                                    <div class="row form-group">
                                        <div class="col-md-3"></div>
                                        <div class="col-md-6">

                                            <div class="row">
                                                <label style="width: 30%">报警方式：</label>
                                                <select class="rounded" id="bao_way" style="width: 70%" name="reportMethod">
                                                    <option value="0">短信</option>
                                                    <option value="1">邮件</option>
                                                    <option value="2">页面</option>
                                                    <option value="3">报表</option>
                                                </select>
                                            </div>

                                        </div>
                                        <div class="col-md-3"></div>
                                    </div>
                                    <div class="row form-group">
                                        <div class="col-md-3"></div>
                                        <div class="col-md-6">

                                            <div class="row">
                                                <label style="width: 30%">通知对象：</label>

                                                <select class="rounded" id="group_way" style="width: 70%" multiple="multiple" name="reportID">
                                                    <option th:each="Group,groupStat:${g_list}" th:value="${Group.groupID}" th:text="${Group.groupName}" value="桥梁监测组">桥梁监测组</option>
                                                </select>
                                            </div>

                                        </div>
                                        <div class="col-md-3"></div>
                                    </div>
                                    <div class="row form-group">
                                        <div class="col-md-5"></div>
                                        <div class="col-md-4">
                                            <button class="badge badge-success" id="warningSettingButton">修改</button>
                                        </div>
                                        <div class="col-md-3"></div>
                                    </div>
                                </form>
                            </div>
                        </div>
                    </div>

                </div>
            </div>
        </div>
        <div th:replace="~{index::footer}"></div>
    </div>
</div>
</div>
<!-- Modal -->
<div class="modal fade" id="modalUpdate" tabindex="-1" role="dialog" aria-labelledby="modalUpdatePro"
     aria-hidden="true">
    <div class="modal-dialog modal-dialog-centered" role="document">
        <div class="modal-content">
            <div class="modal-header bg-primary">
                <h6 class="modal-title"><i class="la la-frown-o"></i> Under Development</h6>
                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                    <span aria-hidden="true">&times;</span>
                </button>
            </div>
            <div class="modal-body text-center">
                <p>Currently the pro version of the <b>Ready Dashboard</b> Bootstrap is in progress development</p>
                <p>
                    <b>We'll let you know when it's done</b></p>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
            </div>
        </div>
    </div>
</div>
</body>
<script src="/assets/js/core/jquery.3.2.1.min.js"></script>
<script src="/assets/js/plugin/jquery-ui-1.12.1.custom/jquery-ui.min.js"></script>
<script src="/assets/js/core/popper.min.js"></script>
<script src="/assets/js/core/bootstrap.min.js"></script>
<script src="/assets/js/plugin/chartist/chartist.min.js"></script>
<script src="/assets/js/plugin/chartist/plugin/chartist-plugin-tooltip.min.js"></script>
<script src="/assets/js/plugin/bootstrap-notify/bootstrap-notify.min.js"></script>
<script src="/assets/js/plugin/bootstrap-toggle/bootstrap-toggle.min.js"></script>
<script src="/assets/js/plugin/jquery-mapael/jquery.mapael.min.js"></script>
<script src="/assets/js/plugin/jquery-mapael/maps/world_countries.min.js"></script>
<script src="/assets/js/plugin/chart-circle/circles.min.js"></script>
<script src="/assets/js/plugin/jquery-scrollbar/jquery.scrollbar.min.js"></script>
<script src="/assets/js/ready.min.js"></script>
<script src="/assets/js/demo.js"></script>
<script src="/assets/js/WarningSetting.js"></script>
</html>